unit HighScoreFrm;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, Grids, ValEdit, StdCtrls, Buttons;

type
  THighScoreForm = class(TForm)
    GroupBox1: TGroupBox;
    HighScoresValueList: TValueListEditor;
    bOk: TBitBtn;
    procedure FormKeyPress(Sender: TObject; var Key: Char);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

const
 ESC_KEYCODE = #27;

var
  HighScoreForm: THighScoreForm;

implementation

{$R *.dfm}

procedure THighScoreForm.FormKeyPress(Sender: TObject; var Key: Char);
begin
 if Key = ESC_KEYCODE then ModalResult := mrOk;
end;

end.
